package com.vates.login.services.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.vates.login.dao.GenericDAO;
import com.vates.login.dao.RoleDAO;
import com.vates.login.model.Role;
import com.vates.login.services.RoleService;

@Service("roleService")
public class RoleServiceImpl extends BaseCrudServicesImpl<Role, Long> implements
		RoleService {
	
	/** It DAO should be used in the implementation of this class **/
	@Autowired
	private RoleDAO roleDao;

	public GenericDAO<Role, Long> getEntityDao() {
		return roleDao;
	}
}
